<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SkyGameEngine2d: SkyEngine2d::EventFocus类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="shpe.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SkyGameEngine2d
   &#160;<span id="projectnumber">1.0.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>SkyEngine2d</b></li><li class="navelem"><a class="el" href="class_sky_engine2d_1_1_event_focus.html">EventFocus</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="class_sky_engine2d_1_1_event_focus-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">SkyEngine2d::EventFocus类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>焦点事件  
 <a href="class_sky_engine2d_1_1_event_focus.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_event_focus_8h_source.html">EventFocus.h</a>&gt;</code></p>
<div class="dynheader">
类 SkyEngine2d::EventFocus 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_sky_engine2d_1_1_event_focus.png" usemap="#SkyEngine2d::EventFocus_map" alt=""/>
  <map id="SkyEngine2d::EventFocus_map" name="SkyEngine2d::EventFocus_map">
<area href="class_sky_engine2d_1_1_widget_event.html" title="窗口事件的基类" alt="SkyEngine2d::WidgetEvent" shape="rect" coords="0,112,169,136"/>
<area href="class_sky_engine2d_1_1_i_event.html" title="事件接口" alt="SkyEngine2d::IEvent" shape="rect" coords="0,56,169,80"/>
<area href="class_sky_engine2d_1_1_non_copyable.html" title="不可拷贝对象的基类" alt="SkyEngine2d::NonCopyable" shape="rect" coords="0,0,169,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:acf76eee7bd1acde2f622d0bf4cd02636"><td class="memItemLeft" align="right" valign="top"><a id="acf76eee7bd1acde2f622d0bf4cd02636"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>EventType</b> { <b>FocusOut</b>, 
<b>FocusIn</b>
 }</td></tr>
<tr class="separator:acf76eee7bd1acde2f622d0bf4cd02636"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_class_sky_engine2d_1_1_i_event"><td colspan="2" onclick="javascript:toggleInherit('pub_types_class_sky_engine2d_1_1_i_event')"><img src="closed.png" alt="-"/>&#160;Public 类型 继承自 <a class="el" href="class_sky_engine2d_1_1_i_event.html">SkyEngine2d::IEvent</a></td></tr>
<tr class="memitem:af805a8b2a2e9b21858cb6059450726a7 inherit pub_types_class_sky_engine2d_1_1_i_event"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_i_event.html#af805a8b2a2e9b21858cb6059450726a7">Type</a> { <br />
&#160;&#160;<a class="el" href="class_sky_engine2d_1_1_i_event.html#af805a8b2a2e9b21858cb6059450726a7a3759e645060846af4d6b4e477ede09ae">Type::EventType_Mouse</a>, 
<a class="el" href="class_sky_engine2d_1_1_i_event.html#af805a8b2a2e9b21858cb6059450726a7a223aa56f34c1651d6fb96d49241967e9">Type::EventType_Keyboard</a>, 
<a class="el" href="class_sky_engine2d_1_1_i_event.html#af805a8b2a2e9b21858cb6059450726a7aaafe9d74015a3050735804fbab0668f0">Type::EventType_Character</a>, 
<a class="el" href="class_sky_engine2d_1_1_i_event.html#af805a8b2a2e9b21858cb6059450726a7a9e5170da879f25a5cd0efa70a5ee1a17">Type::EventType_WidgetFocus</a>, 
<br />
&#160;&#160;<a class="el" href="class_sky_engine2d_1_1_i_event.html#af805a8b2a2e9b21858cb6059450726a7af6fa9c2b3e3e57b80eb401ae2842d1e9">Type::EventType_WidgetMove</a>, 
<a class="el" href="class_sky_engine2d_1_1_i_event.html#af805a8b2a2e9b21858cb6059450726a7a9bde4307b3058478a2923882167b85da">Type::EventType_WidgetActive</a>, 
<a class="el" href="class_sky_engine2d_1_1_i_event.html#af805a8b2a2e9b21858cb6059450726a7a79d007656a606f1d4fd8477b46fa1fe4">Type::EventTYpe_WidgetResize</a>, 
<a class="el" href="class_sky_engine2d_1_1_i_event.html#af805a8b2a2e9b21858cb6059450726a7a11dfeb337f9fd0d676e48878313ee058">Type::EventType_EnterWidget</a>, 
<br />
&#160;&#160;<a class="el" href="class_sky_engine2d_1_1_i_event.html#af805a8b2a2e9b21858cb6059450726a7abe1d563b80edcd568d94d6252683739a">Type::EventType_LeaveWIdget</a>, 
<a class="el" href="class_sky_engine2d_1_1_i_event.html#af805a8b2a2e9b21858cb6059450726a7a2c5d9c8a562c51575e0f48b35a729b42">Type::EventType_NormalEvent</a>, 
<b>EventType_User</b>
<br />
 }</td></tr>
<tr class="separator:af805a8b2a2e9b21858cb6059450726a7 inherit pub_types_class_sky_engine2d_1_1_i_event"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a72843cc1ca13873c7837570a70818df2"><td class="memItemLeft" align="right" valign="top"><a id="a72843cc1ca13873c7837570a70818df2"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>EventFocus</b> (EventType type)</td></tr>
<tr class="separator:a72843cc1ca13873c7837570a70818df2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ae4190918437848d3b1f1a04e5dd783"><td class="memItemLeft" align="right" valign="top"><a id="a5ae4190918437848d3b1f1a04e5dd783"></a>
EventType&#160;</td><td class="memItemRight" valign="bottom"><b>getFouceEventType</b> ()</td></tr>
<tr class="separator:a5ae4190918437848d3b1f1a04e5dd783"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_sky_engine2d_1_1_widget_event"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_sky_engine2d_1_1_widget_event')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_sky_engine2d_1_1_widget_event.html">SkyEngine2d::WidgetEvent</a></td></tr>
<tr class="memitem:ad42cfe2ff0dea44baad4cc42eebb31e0 inherit pub_methods_class_sky_engine2d_1_1_widget_event"><td class="memItemLeft" align="right" valign="top"><a id="ad42cfe2ff0dea44baad4cc42eebb31e0"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>WidgetEvent</b> (<a class="el" href="class_sky_engine2d_1_1_i_event.html#af805a8b2a2e9b21858cb6059450726a7">IEvent::Type</a> type)</td></tr>
<tr class="separator:ad42cfe2ff0dea44baad4cc42eebb31e0 inherit pub_methods_class_sky_engine2d_1_1_widget_event"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_sky_engine2d_1_1_i_event"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_sky_engine2d_1_1_i_event')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_sky_engine2d_1_1_i_event.html">SkyEngine2d::IEvent</a></td></tr>
<tr class="memitem:af9537eb7040d464ca1cd8472511adb1c inherit pub_methods_class_sky_engine2d_1_1_i_event"><td class="memItemLeft" align="right" valign="top"><a id="af9537eb7040d464ca1cd8472511adb1c"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>IEvent</b> (<a class="el" href="class_sky_engine2d_1_1_i_event.html#af805a8b2a2e9b21858cb6059450726a7">Type</a> type)</td></tr>
<tr class="separator:af9537eb7040d464ca1cd8472511adb1c inherit pub_methods_class_sky_engine2d_1_1_i_event"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fcf233d9539d179858d81fc6d3ff0ce inherit pub_methods_class_sky_engine2d_1_1_i_event"><td class="memItemLeft" align="right" valign="top"><a id="a4fcf233d9539d179858d81fc6d3ff0ce"></a>
<a class="el" href="class_sky_engine2d_1_1_i_event.html#af805a8b2a2e9b21858cb6059450726a7">Type</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getType</b> ()</td></tr>
<tr class="separator:a4fcf233d9539d179858d81fc6d3ff0ce inherit pub_methods_class_sky_engine2d_1_1_i_event"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1fb4987a6c871cb1303da7d9e23e335 inherit pub_methods_class_sky_engine2d_1_1_i_event"><td class="memItemLeft" align="right" valign="top"><a id="af1fb4987a6c871cb1303da7d9e23e335"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>isAccept</b> () const</td></tr>
<tr class="separator:af1fb4987a6c871cb1303da7d9e23e335 inherit pub_methods_class_sky_engine2d_1_1_i_event"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e9678993cc2f6e67caf24daf977ae26 inherit pub_methods_class_sky_engine2d_1_1_i_event"><td class="memItemLeft" align="right" valign="top"><a id="a1e9678993cc2f6e67caf24daf977ae26"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>accept</b> ()</td></tr>
<tr class="separator:a1e9678993cc2f6e67caf24daf977ae26 inherit pub_methods_class_sky_engine2d_1_1_i_event"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8db35b3e77fcc7a348e89f076a2aa00b inherit pub_methods_class_sky_engine2d_1_1_i_event"><td class="memItemLeft" align="right" valign="top"><a id="a8db35b3e77fcc7a348e89f076a2aa00b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>ignore</b> ()</td></tr>
<tr class="separator:a8db35b3e77fcc7a348e89f076a2aa00b inherit pub_methods_class_sky_engine2d_1_1_i_event"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_sky_engine2d_1_1_non_copyable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_sky_engine2d_1_1_non_copyable')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_sky_engine2d_1_1_non_copyable.html">SkyEngine2d::NonCopyable</a></td></tr>
<tr class="memitem:a570a18a8e326ce10a33915dffdc2b23e inherit pub_methods_class_sky_engine2d_1_1_non_copyable"><td class="memItemLeft" align="right" valign="top"><a id="a570a18a8e326ce10a33915dffdc2b23e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>NonCopyable</b> (const <a class="el" href="class_sky_engine2d_1_1_non_copyable.html">NonCopyable</a> &amp;)=delete</td></tr>
<tr class="separator:a570a18a8e326ce10a33915dffdc2b23e inherit pub_methods_class_sky_engine2d_1_1_non_copyable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac21e0c7e1d6da8e9a27f6b6d8087e46a inherit pub_methods_class_sky_engine2d_1_1_non_copyable"><td class="memItemLeft" align="right" valign="top"><a id="ac21e0c7e1d6da8e9a27f6b6d8087e46a"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>NonCopyable</b> (<a class="el" href="class_sky_engine2d_1_1_non_copyable.html">NonCopyable</a> &amp;&amp;)=delete</td></tr>
<tr class="separator:ac21e0c7e1d6da8e9a27f6b6d8087e46a inherit pub_methods_class_sky_engine2d_1_1_non_copyable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fdd4955d223d165a4fbe84f5c4690b5 inherit pub_methods_class_sky_engine2d_1_1_non_copyable"><td class="memItemLeft" align="right" valign="top"><a id="a9fdd4955d223d165a4fbe84f5c4690b5"></a>
<a class="el" href="class_sky_engine2d_1_1_non_copyable.html">NonCopyable</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="class_sky_engine2d_1_1_non_copyable.html">NonCopyable</a> &amp;)=delete</td></tr>
<tr class="separator:a9fdd4955d223d165a4fbe84f5c4690b5 inherit pub_methods_class_sky_engine2d_1_1_non_copyable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1397ae519173378b37ad622d148be3b5 inherit pub_methods_class_sky_engine2d_1_1_non_copyable"><td class="memItemLeft" align="right" valign="top"><a id="a1397ae519173378b37ad622d148be3b5"></a>
<a class="el" href="class_sky_engine2d_1_1_non_copyable.html">NonCopyable</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (<a class="el" href="class_sky_engine2d_1_1_non_copyable.html">NonCopyable</a> &amp;&amp;)=delete</td></tr>
<tr class="separator:a1397ae519173378b37ad622d148be3b5 inherit pub_methods_class_sky_engine2d_1_1_non_copyable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>焦点事件 </p>
</div><hr/>该类的文档由以下文件生成:<ul>
<li>C:/code/SkyGameEngine2d/src/base/<a class="el" href="_event_focus_8h_source.html">EventFocus.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
